<?php

$foo=$_GET["reportid"];

include("mysql_conn.php");

$result=mysql_query("select report_data from status_reports where reportid=$foo");

while ($row=mysql_fetch_array($result))
{
 echo "$row[0]";
}

mysql_close($con);

?>
